Skip to main content

mergMarkdownToXHTML

Type

function

Summary

Returns the XHTML translation of the markdown document.

Syntax

mergMarkdownToXHTML(<pMarkdown>, [<pNoIntraEmphasis>, <pTable>, <pFencedCode>, <pAutoLink>, <pStrikethrough>, <pSpaceHeaders>, <pSuperscript>, <pLaxSpacing>])

Description

Returns the XHTML translation of the markdown document.

Parameters

NameTypeDescription

pMarkdown

string

The markdown text to translate.

pNoIntraEmphasis

boolean

Don't add emphasis if there is no space on either side of the underscores. If true this will be emphasized but_this_won't be.

pTable

boolean

Support tables.

pFencedCode

boolean

Support fenced code.

pAutoLink

boolean

Auto link urls in the text

pStrikethrough

boolean

Use a double tilde(~) either side of a word to indicate strikethrough

pSpaceHeaders

boolean

If true forces a space after the # for headers

pSuperscript

boolean

If true use ^ to indicate the start of a superscript word

pLaxSpacing

boolean

If true allows lax spacing. For example it will allow no space between a paragraph and a list.

Examples

put mergMarkdownToXHTML(theMarkdownText,,true) into theHTML

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

android

linux

mac

windows

Platforms

mobile

desktop

server

Thank you for your feedback!

Was this page helpful?